import LDataScene from "./LDataScene";
export default class LDataSceneManager 
{
    public static dataList:LDataScene[] = [];
    public static GetDataById(index:number):LDataScene
    {    
        if(LDataSceneManager.dataList.length == 0){
            LDataSceneManager.dataList[0] = new LDataScene(0,"-9999",1,-9999,-9999,-9999,-9999,1000,"scene_play_bg");
            LDataSceneManager.dataList[1] = new LDataScene(1,"累计达到5000000分",3,-9999,5000000,-9999,-9999,1001,"background_universe01");
            LDataSceneManager.dataList[2] = new LDataScene(2,"邀请好友获得",5,-9999,-9999,-9999,1,1002,"background_christmas01");
            LDataSceneManager.dataList[3] = new LDataScene(3,"免费获得",2,1,-9999,-9999,-9999,1003,"background_forest01");
            LDataSceneManager.dataList[4] = new LDataScene(4,"免费获得",2,1,-9999,-9999,-9999,1004,"scene_play_bg04");
        }
        return LDataSceneManager.dataList[index]
    }
}
